﻿<UserControl x:Class="DesktopIcons.DesktopIconsView"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             xmlns:vm="clr-namespace:DesktopIcons"
             mc:Ignorable="d" Margin="8,8,8,0" d:DesignHeight="16" d:DesignWidth="300">
    <UserControl.Resources>
        <vm:DesktopIconsViewModel x:Key="desktopIconsViewModel" />
    </UserControl.Resources>
    <Grid>
        <CheckBox Content="Hide desktop icons" Height="16" HorizontalAlignment="Left" Name="checkBoxHide" VerticalAlignment="Top" Margin="0" IsChecked="{Binding Path=Model.Hide, Source={StaticResource desktopIconsViewModel}}" />
    </Grid>
</UserControl>
